package com.flower.service;

import com.flower.model.dto.RoleDto;
import com.flower.model.dto.RolePageQueryDto;
import com.flower.model.vo.RoleVo;
import com.flower.result.PageResult;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName RoleService
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/6/12 16:45
 *@Version 1.0
 */

public interface RoleService {
    List<RoleVo> getAllRole();

    PageResult getRoleList(RolePageQueryDto rolePageQueryDto);

    void updateRole(RoleDto roleDto);

    void deleteRole(Integer id);

    void deleteRoleList(List<Integer> ids);

    List<Integer> getRoleMenu(Integer roleld);

    void updateRoleMenu(Integer roleId, List<Integer> menuIds);
}
